/*
 * @Description: Description
 * @Author: zhaojiansen
 * @Date: 2022-11-03 09:22:32
 * @LastEditors: zhaojiansen
 * @LastEditTime: 2022-11-05 10:30:55
 */
import request from '@/utils/request'
const serviceCategory = window.CONFIG.services.wecom + '/category'
export function createGreeting(query) {
    return request({
       url: "/admin/wecom/tlp/list" , 
      method: 'get', 
      params: query
    })
  }

  export function updateRuleStatus(data) {
    return request({
       url: "/admin/wecom/tlp/state", 
      method: 'put', 
      data })
  }



  export function deleteInterface(ids) {
    return request({
      url:"/admin/wecom/tlp/remove" + '/' + ids,
      method: 'DELETE'
    })
  }